---
import useIcon from "@/hooks/useIcon";
import Basic from "./index.astro";

export interface Props {
  id: string;
  property?: Record<string, string>;
}
const { id, property } = Astro.props;
---

<Basic item={useIcon(id)!} property={property} />
